<template>
  <div class="data-total">
    <div class="tt">Data Total</div>
    <div class="showboax">
      <div v-for="i in 6" :key="i"><datatatalitem /></div>
    </div>
  </div>
</template>

<script setup lang="ts">
import datatatalitem from "@/components/view/datatotal-item.vue";
</script>

<style scoped lang="scss">
.data-total {
  height: 100%;
  width: 100%;
  padding: 10px 20px;
  color: #fff;
  .tt {
    font-size: 0.9vw;
    font-weight: 700;
    color: #a6a8ac;
    margin-bottom: 10px;
  }
  .showboax {
    height: calc(100% - 30px);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    > div {
      background-color: var(--them-color);
      border-radius: 10px;
      &:hover {
        box-shadow: 0 0 10px 5px rgba($color: #fff, $alpha: 0.5);
        transition: all 0.3s;
        transform: scale(1.02);
        cursor: pointer;
      }
    }
  }
}
</style>
